﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Method
{
    class Press
    {
        public string Contacts { get; set; }
        public string Address { get; set; }
        public string PressName { get; set; }

        public void press()
        {
            Console.WriteLine("出版社名：{0}，地址：{1}，联系人：{2}。",
                this.PressName, this.Address, this.Contacts);
        }
    }
}
